package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseFintechUserCompanyDao;
import com.appkubes.mall.core.entity.FintechUserCompany;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseFintechUserCompanyService extends AbstractBaseService<BaseFintechUserCompanyDao, FintechUserCompany> {

    FintechUserCompany getOneByEntity(FintechUserCompany entity);

    List<FintechUserCompany> selectListByEntity(FintechUserCompany entity);

    IPage<FintechUserCompany> selectPageByEntity(IPage<FintechUserCompany> page);
    IPage<FintechUserCompany> selectPageByEntity(PageVO pageVO);

    IPage<FintechUserCompany> selectPageByEntity(FintechUserCompany entity, IPage<FintechUserCompany> page);
    IPage<FintechUserCompany> selectPageByEntity(FintechUserCompany entity, PageVO pageVO);

    IPage<FintechUserCompany> selectPageByEntity(FintechUserCompany entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(FintechUserCompany entity);
}
